package com.bnlr.lrparking.appui.publish;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.bnlr.lrparking.R;
import com.bnlr.lrparking.base.BaseActivity;

/**
 * 失败原因
 * @author tian
 */
public class FailCauseActivity extends BaseActivity {
    private TextView cause;
    private ImageView ivback;
    private String stringCause;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fail_cause);
        stringCause = getIntent().getStringExtra("fail_cause");
        ivback = (ImageView) findViewById(R.id.iv_back);
        cause = (TextView) findViewById(R.id.cause);
        cause.setText("原因：" + stringCause);
        ivback.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
